package com.tkjt.pms.common.vos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TkIndexReportVO {
    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ID_WORKER_STR)
    private String id;
    /**指标归属*/
    @Excel(name = "指标归属", width = 15)
    private String indexGroup;
    /**RHC:医院&社区;RDP:养康本部;RHCH:医院&社区(领导);RDPH:养康本部*/
    @Excel(name = "RHC:医院&社区;RDP:养康本部;RHCH:医院&社区(领导);RDPH:养康本部", width = 15)
    private String reportCode;
    /**报表名称*/
    @Excel(name = "报表名称", width = 15)
    private String reportName;
    /**0:有错误; 1:已就绪; 2:生成中; 3:下载中; 4:已下载*/
    @Excel(name = "0:有错误; 1:已就绪; 2:生成中; 3:下载中; 4:已下载", width = 15)
    private String reportStatus;
    /**报表生成时间*/
    @Excel(name = "报表生成时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date reportDate;
    /**下载次数*/
    @Excel(name = "下载次数", width = 15)
    private Integer downloadTimes;
    /**最近一次下载时*/
    @Excel(name = "最近一次下载时", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date downloadDate;
    /**createBy*/
    @Excel(name = "createBy", width = 15)
    private String createBy;
    /**createDate*/
    @Excel(name = "createDate", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date createDate;
    /**updateBy*/
    @Excel(name = "updateBy", width = 15)
    private String updateBy;
    /**updateDate*/
    @Excel(name = "updateDate", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date updateDate;

    @TableField(exist=false)
    private Integer pageNo;

    @TableField(exist=false)
    private Integer pageSize;

    private String indexYearMonth;

    private String auditStatus;
}
